<?php
if(!defined('IN_DISCUZ')) {
	exit('Access Deined');
}

$pluginid='aljbd';
$settings=C::t('#aljbd#aljbd_setting')->range();
if($settings['close_map']['value']){
	showmessage('&#22320;&#22270;&#27169;&#22359;&#26242;&#26410;&#24320;&#25918;');
}
$aljbd_seo = dunserialize($_G['setting']['aljbd_seo']);
$config=$_G['cache']['plugin']['aljbd'];
if ($_SERVER ['HTTP_X_REWRITE_URL']) {
	$the_uri = isset($_SERVER ['HTTP_X_REWRITE_URL']) ? $_SERVER ['HTTP_X_REWRITE_URL'] : '';
} else {
	$the_uri = isset($_SERVER ['REQUEST_URI']) ? $_SERVER ['REQUEST_URI'] : '';
}
$the_uri=ltrim($the_uri,'/');
$index_dh = explode ("\n", str_replace ("\r", "", $config ['index_dh']));
foreach($index_dh as $key=>$value){
	$arr=explode('|',$value);
	$index_dh_types[$arr[0]]=$arr[1];
}
$ress=array(
	'map.html'=>'id=aljbd:so',
);
$url_dh=ltrim($_SERVER['PHP_SELF'].'?'.$_SERVER["QUERY_STRING"],'/');

$url_dh=urldecode($url_dh);
require_once 'source/plugin/aljbd/act/gmap.php';
$alltype = DB::fetch_all('select * from %t where upid=0 order by displayorder desc limit 0,13',array('aljbd_type'));
require_once 'source/plugin/aljbd/include/newparameter.php';
if(file_exists('source/plugin/aljbd/com/so.php')){
	include 'source/plugin/aljbd/com/so.php';
}
?>